package sicau.carManager.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import sicau.carManager.entity.Notice;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ITcz
 * @since 2020-07-28
 */
public interface NoticeService extends IService<Notice> {

    boolean addNotice(String title, String content);

    boolean deleteNotice(int id);

    IPage<Notice> getAllNotice(int page, int pageSize);
}
